print "Welcome."
print "[exit window]"

'Define a Window
    WindowWidth = 320
    WindowHeight = 190

'Center the Window
    UpperLeftX = Int((DisplayWidth - WindowWidth)/2)
    UpperLeftY = Int((DisplayHeight - WindowHeight)/2)

'Load a Bitmap from the bmp file of the JB root directory
'If the bitmap is in the same folder as the program, no path required
    Loadbmp "lemon", "welcome2.bmp"
'Add a Graphicbox
    Graphicbox #main.gb, 0, 0, 400, 400

'Open the Window

    Open "Splash" for Window as #main


'Set the trapclose command
    Print #main, "Trapclose [endDemo]"

'Put the Pen down
    Print #main.gb, "Down"

'Draw the bitmap at x, y"
    Print #main.gb, "Drawbmp lemon 1 1"

'Flush to make the graphics stick
    Print #main.gb, "Flush"
playwave "welcometone.wav"
    Wait

[endDemo]
'Unload the bmp before ending the program
    Unloadbmp "lemon"

    Close #main



111 cls

111999 print "-----------------Lifetime Sim v1.2----------------------------------"
print "               "
print
print
print "1 - Play!"
print "2 - Create Report                                  Warning- Closing will delete game!"
print "3 - Info and Help   "
input menusim
if menusim = 1 then goto 1999
if menusim = 2 then goto 311
if menusim = 3 then goto 411 else cls : print "Please type a number. Refer to help (3) for more help" : goto 111999
end
311 cls
print "Create Report (after playing) - Will erase any other report"
print " Type in your name:"
input nameplay$
print "report.txt - Found in the game folder"

    open "report.txt" for output as #reporth

    print #reporth, "Lifetime Sim Report v1.2 - ";nameplay$;""
    print #reporth, "$";money;""
    print #reporth, "";know;" Knowledge"
    print #reporth, "";strong;" Strength"
    close #reporth
print
print "Lifetime Sim Report"
print "$";money;""
print "";know;" Knowledge"
print "";strong;" Strength"
print
print "saved! - enter to go back"
input sgbsdgkbj
goto 111
end


1999 cls
print "Select your net-worth goal (money + strength + knowledge = worth)"
print "Once you reach your goal, you will of won the game!"
print "The higher the goal, the harder the game is"
print
print
Print "1 - Easy 750 Worth (money + strength + knowledge"
print "2 - Medium 1000 worth"
print "3 - Hard 1500 worth"
print "4 - Very Hard 3000 worth"
print "5 - Super Hard 5000 worth"
print "6 - Very, very, wery, etc HARD! 10,000 worth"
print "7 - Way too hard 50,000"
print "8 - You will fall asleep before you get half way - 500,000!"
input menuu
if menuu = 1 then winner = 750
if menuu = 2 then winner = 1000
if menuu = 3 then winner = 3000
if menuu = 4 then winner = 5000
if menuu = 5 then winner = 10000
if menuu = 6 then winner = 50000
if menuu = 7 then winner = 500000 else winner = 750
1 cls
11111 winr = money + strong + moneybank
winrr = winr + know
if winrr > winner then goto 1234567890
if winrr = winner then goto 1234567890


print "10 - Quit   11 - Help   12 - Home"
print "Main Menu = Stats: Knowledge - ";know;"; Strength - ";strong;"; Money - $";money;""
print
print "-City of Fairville-"
print "1 - General's Grocery Store and more"
print "2 - Smart University"
print "3 - Fraction Bank"
print "4 - Auction Hall"
print "5 - Car (go to different cities)"
print
input fair$
if fair$ = "1" then goto 11
if fair$ = "2" then goto 12
if fair$ = "3" then goto 13
if fair$ = "4" then goto 14
if fair$ = "5" then goto 15
if fair$ = "10" then goto 111
if fair$ = "11" then goto 411
if fair$ = "12" then goto 255
if fair$ = "run value-editor" then goto 999 else 1
end
999 cls
print "value editor"
print "edit:"
print "1 - know"
print "2 - strong"
print "3 - money"
print "4 - moneybank"
print "5 - 1 for all prod"
print "6 - 2 for all prod"
print
print "7 - close editor"
input valu
if valu = 1 then goto 219
if valu = 2 then goto 229
if valu = 3 then goto 239
if valu = 4 then goto 249
if valu = 5 then valuq = 1 : goto 12345
if valu = 6 then valuq = 2 : goto 12345 else goto 1
end
219 print "edit know from ";know;" to"
input know
goto 9991
end
229 print "edit strong from ";strong;" to"
input strong
goto 9991
239 print "edit money from ";money;" to"
input money
goto 9991
249 print "edit moneybank from ";moneybank;" to"
input moneybank
goto 9991
9991 print "success - enter to continue"
input rftr
goto 999
end
12345
prodone = valuq
prodtwo = valuq
prodthr = valuq
prodfou = valuq
prodfiv = valuq
prodsix = valuq
prodsev = valuq
prodeig = valuq
prodnin = valuq
pin = 15
if valuq = 2 then pin = 30
prodten = valuq
prodele = valuq
prodtwe = valuq
print "success - enter to go back"
input fjjfjDD
goto 999
end
11 cls
print
print "Main Menu = Stats: Knowledge - ";know;"; Strength - ";strong;"; Money - $";money;""
print
print "-City of Fairville : GENERAL'S GROCERY STORE AND MORE"
print
print "Items:"
print " 1 - School Books - School Use and adds to knoweledge = 20 coins"
print " 2 - Office Supplies - School Use = 11 coins"
print " 3 - Weight Set - Adds strength = 25 coins"
print " 4 - Watch - Access to real time and date, not much of a use though = 1 coin "
print " 5 - One-time Magic Potion - Adds one stength = 2 coins"
print " 6 - Book, Guide to Auctioning - Adds 1 coin more to each auction = 19 coins"
print " 7 - Cook Book - Enables you to cook = 10 coins"
print " 8 - Cell Phone - Time and date, Built in Memo Pad, Text Message = 100 coins"
print " 9 - Pin Network Cell Phone Points - 15 turn-ons = 9 coins"
print " 10 - Laptop - Adds knoweledge = 150 coins"
print " 11 - Laptop Office 1.0 - programs for your laptop = 26 coins"
print " 12 - How to be a good worker - When working, get 1 coin extra pay! = 29 coins"
print
print "Type in a product number to purchase or type 13 to exit."
input stor
IF stor = 1 then price = 20 : goto 991
IF stor = 2 then price = 11 : goto 991
IF stor = 3 then price = 25 : goto 991
IF stor = 4 then price = 1 : goto 991
IF stor = 5 then price = 2 : goto 991
IF stor = 6 then price = 19 : goto 991
IF stor = 7 then price = 10 : goto 991
IF stor = 8 then price = 100 : goto 991
IF stor = 9 then price = 9 : goto 992
IF stor = 10 then price = 150 : goto 991
IF stor = 11 then price = 26 : goto 991
IF stor = 12 then price = 29 : goto 991 else goto 1
end
991 cls
IF money < price then goto 99404 else money = money - price
if price = 20 then prodone = prodone + 1
if price = 11 then prodtwo = prodtwo + 1
if price = 25 then prodthr = prodthr + 1
if price = 1 then prodfou = prodfou + 1
if price = 2 then prodfiv = prodfiv + 1
if price = 19 then prodsix = prodsix + 1
if price = 10 then prodsev = prodsev + 1
if price = 100 then prodeig = prodeig + 1
if price = 150 then prodten = prodten + 1
if price = 26 then prodele = prodele + 1
if price = 29 then prodtwe = prodtwe + 1
9811 print "Bought! Enter to go back to store"
input dghsdf
goto 11
end
992 cls
if money < price then goto 99404
pin = pin + 15
goto 9811

99404 cls
print "You dont have enough money! enter to go back"
input KJHDkhjd
goto 11

255 cls
2555 print "Home"
print
print "1 School Books - ";prodone;""
print "2 Office Supplies - ";prodtwo;""
print "3 Weight Set - ";prodthr;""
print "4 Watch - ";prodfou;""
print "5 One-time Magic potion - ";prodfiv;""
print "6 Guide to Auctioning - ";prodsix;""
print "7 Cook Book - ";prodsev;""
print "8 Cell Phone - ";prodeig;""
print "9 Cell Phone Card - ";pin;""
print "10 Laptop - ";prodten;""
print "11 Laptop Office Software - ";prodele;""
print "12 How to be a good worker - ";prodtwe;""
print
print "Type in the number of a product to use it or 13 to close"
input book
IF book = 1 then cls : goto 51
IF book = 2 then cls : goto 52
IF book = 3 then cls : goto 53
IF book = 4 then cls : goto 54
IF book = 5 then cls : goto 55
IF book = 6 then cls : goto 56
IF book = 7 then cls : goto 57
IF book = 8 then cls : goto 58
IF book = 9 then cls : goto 59
IF book = 10 then cls : goto 510
IF book = 11 then cls : goto 511
IF book = 12 then cls : goto 512 else goto 1


end

51 if prodone = 0 then goto 5404
print "School Books - 1 to read, +1 knoweledge or 2 to close ; needed for university classes"
input prodg
if prodg = 1 then know = know + 1 : print "+ 1, ";know;" Knowledge" : goto 51 else goto 255

52 if prodtwo = 0 then goto 5404
print "Office Supplies - needed for university classes - enter to go back"
input prodgg
goto 255

53 if prodthr = 0 then goto 5404
print "Weight Set - 1 to work out, +1 strength or 2 to go back"
input prodgHh
if prodgHh = 1 then goto 534 else goto 255
534 cls
strong = strong + 1
print "Worked out. enter to go back"
input OKSHlkjhKLJjh
goto 255

54 if prodfou = 0 then goto 5404
print "Watch - 1 to exit"
print
print "Time:"
print time$()
print
print "Date:"
print date$()
input prodg
goto 255

55 if prodfiv = 0 then goto 5404
print "Magic Potion - +5 strength - one time use"
print "1 - Use    2 - Exit"
input prodgi
if prodgi = 1 then strong = strong + 5 : cls : print "+ 1, ";strong;" Strength - item lost" : prodfiv = 0 : goto 2555 else goto 255

56 if prodsix = 0 then goto 5404
print "Guide to auctioning - Auctions will sell for 1 coin more - takes effect as soon as you read"
print "1 - Use or 2 - close"
input produ
if produ = 1 then autionskill = 1 : cls : print "Auctioning Skills Recived!" : goto 2555 else goto 255

57 if prodsev = 0 then goto 5404
print "Cook Book - Lets you go to kitchen and cook and sell food - takes place after reading"
print "1 - Use or 2 - Close"
input prodtt
if prodtt = 1 then cookskill = 1 : cls : print "Cooking skills recived! Go to the kitchen!" : goto 2555 else goto 255

58 cls
if prodeig = 0 then goto 5404
if pin = 0 then goto 54041
pin = pin - 1
print "PIN NETWORK - ANT. ||| - BAT. ||| - CARD - ";pin;""
print
print "           Date: date$()  Time: time$()"
print "   1 - Memo Pad"
print "   2 - Txt Message"
print "   3 - Close"
input pinnet
if pinnet = 1 then goto 581
if pinnet = 2 then goto 582 else goto 255
end
581 cls
print "Memo Pad  1 - Close ; 2 - Write"
print
print "";mempad$;""
print
input memm
if memm = 2 then goto 5812 else goto 58
5812 cls
print "Write:"
input mempad$
goto 581
582 cls
print "Txt Message"
print "1 - Ben"
print "2 - Ryan"
print "3 - Megan"
print "4 - Katie"
print "5 - EXIT"
input txtm
if txtm = 5 then goto 58
CLS
print "Type Message"
input ddj
cls
goto 58
end

59 cls
print "Pin Network Phone Card"
print "";pin;" Points"
print "1 - Close"
input dkdsfhdgj
goto 255

510 cls
if prodten = 0 then goto 5404
print "Laptop! - ";prodele;" Software"
print "1- Start Laptop  2- Close"
input lapy
if lapy = 2 then goto 255
5109 cls
if prodele = 1 then workzx$ = "3 - Laptop Office Software" else workzx$ = " "
print "Doors 97"
print " 1 - Work with computer; +3 knoweledge"
print " 2 - Shut Down"
print " ";workzx$;""
print
input lappp
if lappp = 1 then goto 5101
if lappp = 3 then goto 5102 else goto 255

5101 cls
know = know + 3
print "+1 Knoweledge - 1 to continue"
goto 510

5102 cls
if prodele = 0 then goto 510
print "Laptop Office 1.0"
print "1 - Cook Book - Lets you cook - if you got the book, this will not do anything"
print "2 - Auctioning Skills Book - Adds one dollar more - if you got the book, this will not do anything"
print "3 - Close"
input cll
if cll = 1 then goto 541
if cll = 2 then goto 542 else goto 5109

541 cls
cookskill = 1
print "Learned cooking - enter to go back"
input lkjfgdghF
goto 5102

542 cls
auctionskill = 1
print "Learned Auctioning Skills! enter to go back"
input dfkgjdfgj
goto 5102


511 cls
if prodele = 0 then goto 5404
print "Laptop Works - Auction and cooking guides"
print "Installed in laptop - enter to go back"
input sdlgDJ
goto 255

512 cls
if prodele = 0 then goto 5404
print "How to be a good worker - get 1 coin more when working - changes take place after reading"
print " 1 - Read    2 - Close"
input workkl
if workkl = 1 then goto 5121 else goto 255
5121 cls
workskill = 1
print "Learned working skills! - enter to go back"
input duuukgjh
goto 255

5404 cls
print "Please purchase this product. Enter to continue"
input dghdaaa
goto 255

end


12 cls
1266 print "Smart University!  ";know;" Knoweledge"
print
print " 1 - Go to class ; 10+ knoweledge ; 15 coins"
print " 2 - Close"
input smartmenu
if smartmenu = 1 then goto 121 else goto 1
end
121 cls
if prodone = 0 then goto 12404
if prodtwo = 0 then goto 12404
if money < 15 then cls : print "Not enough money" : goto 1266
money = money - 15
know = know + 10
cls
print "Earned 10 knoweledge! ";know;"  - Enter to continue"
goto 12
end
12404 cls
print "You need to buy school books and office supplies before you go to class! Go to the store."
print "Enter to continue"
input dsffsg
goto 12
end
13 cls
print "Fraction Bank - $";money;" on hand - $";moneybank;" in bank"
print " 1-Withdraw "
print " 2-Deposite"
print " 3-Close"
input bankk
if bankk = 1 then goto 131
if bankk = 2 then goto 132 else goto 1
end

131 cls
print "Withdraw $ - ";moneybank;" - 1 coin interest"
input moneybankdr
if moneybank = 0 then goto 13404
if moneybankdr > moneybank goto 13404 else moneybank = moneybank - moneybankdr
money = money + moneybankdr
money = money + 1
cls
print "Success!"
print "Enter to continue"
input lkdfjgdkgj
goto 13
end
132 cls
priNT "Deposite $ - ";money;" on hand"
input deposite
if deposite > money then goto 13404 else moneybank = moneybank + deposite
money = money - deposite
cls
print "Success!"
print "Enter to continue"
input dkgdghm
goto 13
end
13404 cls
print "Please make sure you have money or bank money - enter to go back"
input KLDHklj
goto 13
14 cls
print "Auction Hall - Sell your goods for money!"
print "Accepting:"
print
print "Num.  Item.                    How many you have.   Earnings. (if you got the book, one coin is added)"
print
print "1 -   School Books -           ";prodone;"          18 coins"
print "2 -   Office Supplies -        ";prodtwo;"          8 coins"
print "3 -   Weight Set -             ";prodthr;"          24 coins"
print "4 -   Watch -                  ";prodfou;"          0 coin"
print "5 -   One-time Magic potion -  ";prodfiv;"          1 coin"
print "6 -   Guide to Auctioning -    ";prodsix;"          17 coins"
print "7 -   Cook Book -              ";prodsev;"          7 coins"
print "8 -   Cell Phone -             ";prodeig;"          90 coins"
print "9 -   Cell Phone Card -        ";pin;"points -      4 coins for 15 points"
print "10-   Laptop -                 ";prodten;"          125 coins"
print "11-   Laptop Office Software - ";prodele;"          24 coins"
print "12-   How to be a good worker -";prodtwe;"          27 coins"
print
print "13-   Food                    -";prodfood;"         10 coins"
print
print " Type in the auction number or price below - 999 : CLOSE"
input auction
if auction = 1 then goto 91
if auction = 2 then goto 92
if auction = 3 then goto 93
if auction = 4 then goto 94
if auction = 5 then goto 95
if auction = 6 then goto 96
if auction = 7 then goto 97
if auction = 8 then goto 98
if auction = 9 then goto 99
if auction = 10 then goto 910
if auction = 11 then goto 911
if auction = 12 then goto 9129
if auction = 13 then goto 9135 else goto 1
end
91 cls
if prodone = 0 then goto 94041
prodone = prodone - 1
money = money + 18
goto 9999
92 cls
if prodtwo = 0 then goto 94041
prodtwo = prodtwo - 1
money = money + 8
goto 9999
93 cls
if prodthr = 0 then goto 94041
prodthr = prodthr - 1
money = money + 24
goto 9999
94 cls
if prodfou = 0 then goto 94041
prodfou = prodfou - 1
money = money + 0
goto 9999
95 cls
if prodfiv = 0 then goto 94041
prodfiv = prodfiv - 1
money = money + 1
goto 9999
96 cls
if prodsix = 0 then goto 94041
prodsix = prodsix - 1
money = money + 17
goto 9999
97 cls
if prodsev = 0 then goto 94041
prodsev = prodsev - 1
money = money + 7
goto 9999
98 cls
if prodeig = 0 then goto 94041
prodeig = prodeig - 1
money = money + 90
99 cls
if prodnin = 0 then goto 94041
if pin = 0 then goto 94041
if pin = 1 then goto 94041
if pin = 2 then goto 94041
if pin = 3 then goto 94041
if pin = 4 then goto 94041
if pin = 5 then goto 94041
if pin = 6 then goto 94041
if pin = 7 then goto 94041
if pin = 8 then goto 94041
if pin = 9 then goto 94041
if pin = 10 then goto 94041
if pin = 11 then goto 94041
if pin = 12 then goto 94041
if pin = 13 then goto 94041
if pin = 14 then goto 94041
pin = pin - 15
money = money + 4
goto 9999
910 cls
if prodten = 0 then goto 94041
prodten = prodten - 1
money = money + 125
goto 9999
911 cls
if prodele = 0 then goto 94041
prodele = prodele - 1
money = money + 24
goto 9999
9129 cls
if prodtwe = 0 then goto 94041
prodtwe = prodtwe - 1
money = money + 27
goto 9999
9135 cls
if prodfood = 0 then goto 94041
prodfood = prodfood - 1
money = money + 10
goto 9999
end
9999 cls
if auctionskill = 1 then money = money + 1
print "Item Sold! Money $";money;""
print "Enter to continue"
input gslkgs
goto 14
end
94041 cls
print "You dont have any of that item! enter to continue"
input asidhkdn
goto 14


15 cls
print "Car!"
print "1 - Fairville (home)   -   house, bank, store, auction, university"
print "2 - Maple City         -   work, kitchen, person"
print "3 - OakVille           -   gym, food store"
input car
if car = 1 then goto 1
if car = 2 then goto 32
if car = 3 then goto 33 else goto 1
end
32 cls
print
print "Main Menu = Stats: Knowledge - ";know;"; Strength - ";strong;"; Money - $";money;""
print
print "Maple City!"
print
print "1 - Work Centre; Do work and get paid!"
print "2 - Kitchen; cook!"
print "3 - Talk to Person"
print "4 - Car"
input maple
if maple = 1 then goto 61
if maple = 2 then goto 62
if maple = 3 then goto 63 else goto 15

61 cls
winr = money + strong + moneybank
winrr = winr + know
if winrr > winner then goto 1234567890
if winrr = winner then goto 1234567890
print
print "Main Menu = Stats: Knowledge - ";know;"; Strength - ";strong;"; Money - $";money;""
print
print "Maple City! Work Centre   Note- If you read the work book, 1 coin will be added (although it will not say) to each hour"
print
print "1. Accountant  -  5 knowledge needed   -    5 coins/hr"
print "2. Janitor     -                        -   3 coins/hr"
print "3. Steel Mill Worker  -  2 strength needed -4 coins/hr"
print "4. Field Worker -  5 strength needed    -   5 coins/hr"
print "5. General Worker - 7 strength needed   -   7 coins/hr"
print "6. Engineer  -   10 knowledge needed    -   10 coins/hr"
print "7. Co-President of company-20 know. needed- 25 coins/hr"
print "8. President or company - 50 know needed -  50 coins/hr"
print "9. Co-President of major company - 400 know-600 coins/hr"
print "10. President of major company - 600 know  -1000 coins/hr"
print
print "11 to close"
input jorb
if jorb = 1 then goto 7981
if jorb = 2 then goto 7982
if jorb = 3 then goto 7983
if jorb = 4 then goto 7984
if jorb = 5 then goto 7985
if jorb = 6 then goto 7986
if jorb = 7 then goto 7987
if jorb = 8 then goto 7988
if jorb = 9 then goto 7899
if jorb = 10 then goto 5510
if jorb = 411 then goto 41155 else goto 32
end
41155 cls
if used = 1 then goto 411551
money = money + 700
used = 1
print "added 700 coins - money is now ";money;""
print "enter to go back"
input sdfskdfhKSJHDF
goto 61
end
411551 cls
print "nice try. you already used it"
print "enter to go back"
input dkjgkdfjgqkljlkjLk
goto 61
7981 cls
fireG = fireG + 1
if fireG = 25 then locka = 1 : goto 123555
if know < 5 then goto 789404
if locka = 1 then goto 123555
pay = 5
money = money + pay
if workskill = 1 then money = money + 1
print "Worked for 5 coins/hr - $";money;" money"
print "Press enter to go back or 2 to work more"
input kfgj
if kfgj = 2 then goto 7981 else goto 61
7982 cls
fireKJ = fireKJ + 1
if fireKJ = 15 then lock = 1 : goto 123555
if lock = 1 then goto 123555
pay = 3
money = money + pay
if workskill = 1 then money = money + 1
print "Worked for 3 coins/hr - $";money;" money"
print "Press enter to go back or 2 to work more"
input kfgj
if kfgj = 2 then goto 7982 else goto 61
7983 cls
firey = firey + 1
if firey = 30 then lockb = 1 : goto 123555
if lockb = 1 then goto 123555
pay = 4
if strong < 2 then goto 789404
money = money + pay
if workskill = 1 then money = money + 1
print "Worked for 4 coins/hr - $";money;" money"
print "Press enter to go back or 2 to work more"
input kfgj
if kfgj = 2 then goto 7983 else goto 61
7984 cls
fireu = fireu + 1
if fire = 25 then lockc = 1 : goto 123555
if lockc = 1 then goto 123555
if strong < 5 then goto 789404
money = money + 5
if workskill = 1 then money = money + 1
print "Worked for 5 coins/hr - $";money;" money"
print "Press enter to go back or 2 to work more"
input kfgj
if kfgj = 2 then goto 7984 else goto 61
7985 cls
firet = firet + 1
if firet = 15 then lockd = 1 : goto 123555
if lockd = 1 then goto 123555
if strong < 7 then goto 789404
money = money + 7
if workskill = 1 then money = money + 1
print "Worked for 7 coins/hr - $";money;" money"
print "Press enter to go back or 2 to work more"
input kfgj
if kfgj = 2 then goto 7985 else goto 61
7986 cls
fireh = fireh + 1
if fireh = 20 then locke = 1 : goto 123555
if locke = 1 then goto 123555
if know < 10 then goto 789404
money = money + 10
if workskill = 1 then money = money + 1
print "Worked for 10 coins/hr - $";money;" money"
print "Press enter to go back or 2 to work more"
input kfgj
if kfgj = 2 then goto 7986 else goto 61
7987 cls
fireq = fireq + 1
if fireq = 25 then lockf = 1 : goto 123555
if lockf = 1 then goto 123555
if know < 20 then goto 789404
money = money + 25
if workskill = 1 then money = money + 1
print "Worked for 25 coins/hr - $";money;" money"
print "Press enter to go back or 2 to work more"
input kfgj
if kfgj = 2 then goto 7986 else goto 61
7988 cls
fireJ = fireJ + 1
if fireJ = 60 then lockh = 1 : goto 123555
if lockh = 1 then goto 123555
if know < 50 then goto 789404
money = money + 50
if workskill = 1 then money = money + 1
print "Worked for 50 coins/hr - $";money;" money"
print "Press enter to go back or 2 to work more"
input kfgj
if kfgj = 2 then goto 7986 else goto 61
7899 cls
fire = fire + 1
if fire = 40 then lockll = 1 : goto 123555
if lockll = 1 then goto 123555
if know < 500 then goto 789404
money = money + 600
if workskill = 1 then money = money + 1
print "Worked for 600 coins/hr - $";money;" money"
print "Press enter to go back or 2 to work more"
input kfgj
if kfgj = 2 then goto 7986 else goto 61
5510 cls
if know < 600 then goto 789404
money = money + 1000
if workskill = 1 then money = money + 1
print "Worked for 1000 coins/hr - $";money;" money"
print "Press enter to go back or 2 to work more"
input kfgj
if kfgj = 2 then goto 7986 else goto 61
789404 cls
print "You do not have enough knowledge or strength to do this job! You have: ";know;""
print "Go to the university or to the gym."
print "Enter to go back"
input jdfsdfj
goto 61

123555 cls
print "You got fired. :-("
print "Please get another job soon."
print
print "enter to go back"
input IJHkjnKJH
goto 32
end


62 cls
print "Kitchen!"
print "1-Cook food"
print "2-Leave"
input kit
if kit = 2 then goto 32
6211 cls
if cookskill = 0 then goto 62404
prodfood = prodfood + 1
print "You just cooked some food! ";prodfood;" food items"
print " Take it to the auction house to sell!"
print "    1 to leave or 2 to cook more."
input kittwo
if kittwo = 2 then goto 6211 else goto 32
end
62404 cls
print "You dont know how to cook yet! Buy a cook book from the store and read it (in home)."
print "enter to go back"
input gjkjdg
goto 62
end

63 cls
print "Person - Hello! Can I interest you in a watch?"
print
print "1 - Sure!"
print "2 - No thanks."
print "3 - No, but can you tell me where I am?"
input talk
if talk = 1 then goto 631
if talk = 2 then goto 32
if talk = 3 then goto 632 else goto 32
end
631 cls
print "Person - This watch will give you the real time of day!"
print " for only 900 coins!!!!"
print
print "1 - OK! I will take it!"
print "2 - What!?! That's horribly high!"
print "3 - No thanks"
input talkt
if talkt = 1 then goto 6312
if talkt = 2 then goto 6313 else goto 32
end
6312 cls
if money < 900 then goto 63121
money = money - 900
prodfou = prodfou + 1
print "Thank you! You watch is at your home now. -laughs- sucker."
print "---enter to go back"
input dgkgj
goto 32
end
63121 cls
print "Uh Oh, I dont have enough money..."
print "  -Enter to go back"
input sjkdfgjkasdf
goto 32
end
632 cls
print "You are in the great village of MapleCity. To move around to different cities, choose car."
print "1 - Oh thank you."
input dkfjhsdkj
goto 32
6313 cls
print "Person: Well, I have to put bread on the table"
print "You: If I wanted to buy the stupid watch, I will just go to the store and get one for a coin!"
print "1 - Bye"
input skdfhsekhj
goto 32

33 cls
winr = money + strong + moneybank
winrr = winr + know
if winrr > winner then goto 1234567890
if winrr = winner then goto 1234567890
print
print "Main Menu = Stats: Knowledge - ";know;"; Strength - ";strong;"; Money - $";money;""
print
print "Oakville!"
print
print "1 - Gym"
print "2 - Ed's Food Store- Buy, Sell, Trade"
print "3 - Car"
input oak
if oak = 1 then goto 331
if oak = 2 then goto 332 else goto 15
end
331 cls
print
print "Gym - 5 coins a workout (+5 strength)"
print
print "1 - Pay 5 coins"
print "2 - Leave"
input gym
if gym = 1 then goto 3311 else goto 33
end
3311 cls
if money < 5 then goto 3311404
money = money - 5
strong = strong + 5
print "Worked Out. + 5 strength  =   ";strong;" Strength"
print
print "enter to go back"
input skjhdaskjdhKJSH
goto 331
3311404 cls
print "Uh Oh. I am all out of money! Need 5 coins"
print "  enter to go back"
input sdjfalskjhQQQ
goto 33
end
332 cls
print "Ed's Food Store - Buy, sell, trade"
print "1 - Buy food @ wholesale pricing. Only 9 coins!"
print "2 - Sell food @ great pricing. You get 8 coins!"
print "3 - Leave"
input ed
if ed = 1 then goto 3321
if ed = 2 then goto 3322 else goto 33
end
3321 cls
if money < 9 then goto 3321404
money = money - 9
prodfood = prodfood + 1
print "Bought Food!                  -      $ ";money;""
print "";prodfood;" Food"
print
print " enter to go back."
input xhaiuhDLHJSF
goto 332
end
3321404 cls
print "You dont have enough money! You need 9 coins."
print "  enter to go back"
input hfsthsfgh
goto 332
end
3322 cls
if prodfood = 0 then goto 40433
prodfood = prodfood - 1
money = money + 8
print "Sold food! ";prodfood;" Food   -    $ ";money;""
print
print "enter to go back"
input skdfhsadfkhj
goto 332
40433 cls
print "You need food! Enter to go back."
input skldfDDDksidh
goto 332
end
411 cls
print "Lifetime v1.2A - Help!"
print
print "Hi! I hope you like the program. Sorry if there is a bunch of bugs in it."
print "If you see a bug, please feel free to let me now and I will try to find a fix"
print "Here is an about section, quick start instructions and FAQ"
print
print "Please see readme.txt for a complete guide."
print
print "About"
print "  The goal of the game is to get a lot of worth."
print " This is money (in hand and bank) + strength + know = worth"
print "There is a goal for how much worth. Once you reach the goal, you win!"
print "-You can change the goal at the start of the game."
print
print "Use the car to go to different cities. Cities:"
print "1 - Fariville - The downtown of the world. Your house is here (with all the stuff)."
print "2 - MapleCity - The industrial part. Jobs and money and always around here."
print "3 - OakVille - The un-devolped forest part. Not too much here, but enough to be happy."
print
print "Quick Start."
print " Well, you start off with nothing."
print "Go to your car and select Maple City. Next, go to the work center. Work as a janitor till"
print "you get fired. Go to fairville and buy some school books at the general store."
print "Type 12 to access you house. Select the books then read them till you have 5 or higher knoweledge."
print "Go back and work at a new job. You will get fired, but it is fine. Every job fires."
print "After you get some decent money saved up, start playing!"
print " The university has some classes (buy the office supplies)."
print "Also, spend your money wisely."
print
print "FAQ"
print
print "q/I bought an item. How do i get to it? a/Go to your fairville and then to you house (type 12)"
print "q/I bought an auction\cook\work book and am not reciving benefits. a/ Go to your house and read the book"
print "q/I tried the report thing. Nothing happened. a/ It creates a little notepad (report.txt) in the game folder"
print "q/How do you save the game? File/save does not work a/ Honestly, I cant figure out yet. Possible feature in new versions"
print "q/What is food for? a/It is simply another way for you to earn money. You can sell it to the food shop or auction hall"
print "q/Are there any cheat codes? a/Yes! Go to the website to learn more."
print
print "________________________________________________________________________________________________________________________________"
print ""
print "-----------Report a bug or comments, learn more----------------"
print "We welcome any comments or bug reports you might have. You can also learn more! Please go to the site"
print "http://ajd344.aj.funpic.org/atez/sim/"
print
print "Thanks"
print
print "----"
print "Thanks to www.JustBASIC.com for the editor and run files!"
print "1 - Close"
print "2 - Go to our website"
input hlpmenu
if hlpmenu = 2 then goto 4444 else goto 111

4444 cls
RUN "explorer.exe http://ajd344.aj.funpic.org/atez/sim/"
goto 411

1234567890 cls
print "YOU'VE WON!!!"
print ""
print "Good Job!!!"
print "---"
print "You have won!"
print "    1. Create Winners Report"
print "    2. Go to main menu"
input www
if www = 1 then goto 123451 else goto 111
print "error 1"
end
123451 cls
print "Enter Name"
input nameplay$
print "winner.txt - Found in the game folder"

    open "winner.txt" for output as #reporthh

    print #reporthh, "WINNER! Good Job! - Lifetime Sim v1.2 Report - ";nameplay$;""
    print #reporthh, "Worth: ";winrr;"  Goal: ";winner;""
    print #reporthh, "$";money;""
    print #reporthh, "$";moneybank;" in bank"
    print #reporthh, "";know;" Knowledge"
    print #reporthh, "";strong;" Strength"
    close #reporthh
print "Enter to go back"
input sdjgsojdghdsgFGG
goto 1234567890
end
